// 首页接口
import {http,baseURLou } from '../conf/index'
import qs from 'qs'
import store from '@/store'
import httpJ from "@/api/conf/index-json"
// 获取离线在线状态
export const getOnlineState = (params = {}) => {
    return http.get(`${baseURLou}/managementplatform/organ/online`, { params }).then(res => res.data)
  }
  export const getOrganIp = (params = {}) => {
    return http.get(`${baseURLou}/managementplatform/organ/ip`, { params }).then(res => res.data)
  }
//  设置机关ip
export const EditOrganIp = (params = {}) => {
    return httpJ.post(`${baseURLou}/managementplatform/organ/ip/edit`,params).then(res => res.data)
  }